//package com.paul.mq.dependencies.mq.rabbitmq;
//
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.amqp.core.Message;
//import org.springframework.amqp.rabbit.core.RabbitTemplate;
//import org.springframework.stereotype.Component;
//
///**
// * @author zmk
// * @date 2021/1/12 16:28
// * @description
// */
//
//@Component
//public class ReturnCallbackService implements RabbitTemplate.ReturnCallback {
//
//    private static final Logger log = LoggerFactory.getLogger(ReturnCallbackService.class);
//
//    @Override
//    public void returnedMessage(Message message, int replyCode, String replyText, String exchange, String routingKey) {
//        log.info("returnedMessage ===> replyCode={} ,replyText={} ,exchange={} ,routingKey={}", replyCode, replyText, exchange, routingKey);
//    }
//
//}
